gtk4.git
8 years agotreeview: Only update vadjustment in size_allocate()
Benjamin Otte [Mon, 13 Nov 2017 00:53:45 +0000 (01:53 +0100)]
treeview: Only update vadjustment in size_allocate()

The 2 calls even do different things, but because the one in allocate
always overrides the one here...

8 years agotreeview: Pass height to allocate as argument
Benjamin Otte [Mon, 13 Nov 2017 00:23:16 +0000 (01:23 +0100)]
treeview: Pass height to allocate as argument

Instead of exporting a function to query it.

8 years agoprogresstracker: Don't hand out NaN
Benjamin Otte [Sun, 12 Nov 2017 05:19:00 +0000 (06:19 +0100)]
progresstracker: Don't hand out NaN

When the duration is set to 0, clamp it to 1us. This way we're almost
correct: We should really instantly finish, but we don't. But we do
respect the delay.

Doing this properly would require some refactoring of how the progress
tracker actually maintains progress, and this is just a quick fix.

8 years agotreeview: Use gtk_widget_get_width()
Benjamin Otte [Sun, 12 Nov 2017 04:46:06 +0000 (05:46 +0100)]
treeview: Use gtk_widget_get_width()

... instead of gtk_widget_get_allocated_width() and same for height.

This makes the treeview do the right thing when used with padding.

8 years agotreeview: Don't allocate columns outside of size_allocate()
Benjamin Otte [Sun, 12 Nov 2017 04:38:58 +0000 (05:38 +0100)]
treeview: Don't allocate columns outside of size_allocate()

8 years agotreeview: Fix RTL column header allocation
Benjamin Otte [Sun, 12 Nov 2017 04:37:06 +0000 (05:37 +0100)]
treeview: Fix RTL column header allocation

8 years agotreeview: width_changed is always true, so remove it
Benjamin Otte [Sun, 12 Nov 2017 03:55:17 +0000 (04:55 +0100)]
treeview: width_changed is always true, so remove it

Also, sanitize the RTL correction code that made sure resizing the width
of a treeview would keep the contents glued to the right border instead
of the left border.

8 years agox11: Fix a crash
Matthias Clasen [Sat, 11 Nov 2017 17:07:11 +0000 (12:07 -0500)]
x11: Fix a crash

This was crashing the moment a second window is opened.

8 years agoFix up managed dnd
Matthias Clasen [Sat, 11 Nov 2017 12:46:59 +0000 (07:46 -0500)]
Fix up managed dnd

Since commit 6c56d04cee23d3340cf7cf08756c610efe9ccdab,
we were doing some calls twice in the managed dnd case,
leading to double drops.

8 years agotextview: Remove GDK windows
Benjamin Otte [Sat, 11 Nov 2017 04:37:37 +0000 (05:37 +0100)]
textview: Remove GDK windows

8 years agotextview: Simplify gtk_text_view_buffer_to_window_coords()
Benjamin Otte [Sat, 11 Nov 2017 04:22:17 +0000 (05:22 +0100)]
textview: Simplify gtk_text_view_buffer_to_window_coords()

... and gtk_text_view_window_to_buffer_coords()

8 years agotextview: Use text_window_get_width()/height()
Benjamin Otte [Sat, 11 Nov 2017 04:12:07 +0000 (05:12 +0100)]
textview: Use text_window_get_width()/height()

Instead of poking the GdkWindow. They have the same size after all.

8 years agotextview: Make the semi-private headrs really private
Benjamin Otte [Sat, 11 Nov 2017 04:01:31 +0000 (05:01 +0100)]
textview: Make the semi-private headrs really private

Rename the files to have the private.h ending.

And remove gtktextdisplay.h from the installed files.

8 years agotextview: Store border window sizes in a custom struct
Benjamin Otte [Sat, 11 Nov 2017 03:30:00 +0000 (04:30 +0100)]
textview: Store border window sizes in a custom struct

That way, we don't need to have a GtKRequisition in every TextWindow.

8 years agogtktexttag: Remove GtkTextTag::event and gtk_text_tag_event()
Benjamin Otte [Sat, 11 Nov 2017 03:01:55 +0000 (04:01 +0100)]
gtktexttag: Remove GtkTextTag::event and gtk_text_tag_event()

GtkSourceView is not using it, so it's unneeded. And it's certainly
diving deep into event internals of GtkTextView which hinders a proper
gesturization.

8 years agotextview: Hide the selection bubble better
Benjamin Otte [Sat, 11 Nov 2017 01:47:59 +0000 (02:47 +0100)]
textview: Hide the selection bubble better

The selection bubble is not part of the text windows, so hiding it
during scroll should not be done in the text window code.

Also remove an unused variable that was only set in that code but never
read.

8 years agoflowbox: Compute view box from correct variables
Benjamin Otte [Fri, 10 Nov 2017 14:33:24 +0000 (15:33 +0100)]
flowbox: Compute view box from correct variables

8 years agoDrop the last use of GDK_MULTIHEAD_SAFE
Matthias Clasen [Fri, 10 Nov 2017 21:14:19 +0000 (16:14 -0500)]
Drop the last use of GDK_MULTIHEAD_SAFE

This define is not used anymore, this was a leftover.

8 years agoGtkCssImageIconTheme: Don't try to unref a NULL pointer
Kjell Ahlstedt [Fri, 10 Nov 2017 15:48:30 +0000 (16:48 +0100)]
GtkCssImageIconTheme: Don't try to unref a NULL pointer

In gtk_css_image_icon_theme_snapshot(), don't try to unref icon_info
if it's NULL.

https://bugzilla.gnome.org/show_bug.cgi?id=790171

8 years agorendericon: Add missing include
Benjamin Otte [Fri, 10 Nov 2017 14:04:13 +0000 (15:04 +0100)]
rendericon: Add missing include

8 years agostylecontext: Make first property name explicit
Benjamin Otte [Fri, 10 Nov 2017 13:53:36 +0000 (14:53 +0100)]
stylecontext: Make first property name explicit

Insist that a first non-NULL property is passed to
gtk_style_context_get().

This is in particular relevant because of dropping the state argument
since GTK3, and code like
  gtk_style_context_get (context, state, "font", &font);
would keep compiling without warnings without this change.

8 years agoa11y: Report correct spinner size
Benjamin Otte [Fri, 10 Nov 2017 13:34:42 +0000 (14:34 +0100)]
a11y: Report correct spinner size

8 years agocalendar: Fix for GTK4 changes
Benjamin Otte [Fri, 10 Nov 2017 13:34:12 +0000 (14:34 +0100)]
calendar: Fix for GTK4 changes

8 years agotestgtk: Draw the right area in alpha window test
Benjamin Otte [Wed, 8 Nov 2017 15:09:17 +0000 (16:09 +0100)]
testgtk: Draw the right area in alpha window test

Even broken stuff is easier now.

8 years agoexamples: Use right function to query size
Benjamin Otte [Wed, 8 Nov 2017 15:05:52 +0000 (16:05 +0100)]
examples: Use right function to query size

8 years agotestgtk: Fix some more old drawing area uses
Benjamin Otte [Wed, 8 Nov 2017 15:05:33 +0000 (16:05 +0100)]
testgtk: Fix some more old drawing area uses

8 years agotests: After 20 years, update the simple test to modern GTK
Benjamin Otte [Wed, 8 Nov 2017 14:49:52 +0000 (15:49 +0100)]
tests: After 20 years, update the simple test to modern GTK

It's 3 lines shorter!
And it works again!

8 years agotestgtk: Fix rotated text demo
Benjamin Otte [Wed, 8 Nov 2017 14:27:21 +0000 (15:27 +0100)]
testgtk: Fix rotated text demo

Use proper DrawingArea APIs here.

8 years agox11: Reduce uses of the root window
Matthias Clasen [Thu, 9 Nov 2017 23:40:16 +0000 (18:40 -0500)]
x11: Reduce uses of the root window

Avoid calling the get_root_window api that returns
a GdkWindow in some places, and instead use the X
root window directly.

8 years agoSimplify the gtk_snapshot_icon_texture API
Matthias Clasen [Thu, 9 Nov 2017 03:21:42 +0000 (22:21 -0500)]
Simplify the gtk_snapshot_icon_texture API

Instead of passing the color matrix in from the outside,
just pass a boolean and set up the matrix internally.

8 years agoFix a compiler warning
Matthias Clasen [Thu, 9 Nov 2017 03:09:34 +0000 (22:09 -0500)]
Fix a compiler warning

8 years agoFix a typo
Matthias Clasen [Thu, 9 Nov 2017 03:09:23 +0000 (22:09 -0500)]
Fix a typo

8 years agofilesystem: Drop surface-based APIs
Matthias Clasen [Thu, 9 Nov 2017 02:55:34 +0000 (21:55 -0500)]
filesystem: Drop surface-based APIs

These are no longer used.

8 years agofilechooserwidget: Use GIcons
Matthias Clasen [Thu, 9 Nov 2017 02:52:50 +0000 (21:52 -0500)]
filechooserwidget: Use GIcons

This lets us avoid much of the symbolic icon rendering api.

8 years agofilechooserbutton: Use GIcons
Matthias Clasen [Thu, 9 Nov 2017 01:54:48 +0000 (20:54 -0500)]
filechooserbutton: Use GIcons

This lets use avoid much of the symbolic icon rendering api.

8 years agofilesystem: Add GIcon getters
Matthias Clasen [Thu, 9 Nov 2017 01:53:49 +0000 (20:53 -0500)]
filesystem: Add GIcon getters

We want to move away from surfaces, and instead pass
GIcons and GdkTextures around.

8 years agoWin32: Re-work cursor handling
Chun-wei Fan [Tue, 7 Nov 2017 07:39:48 +0000 (15:39 +0800)]
Win32: Re-work cursor handling

Like the X11 and Wayland backends, re-work how the cursors are being
handled.  So, we use a hash table to cache up the HCURSORS that we
create along the way.

We still need to cache up the icon/cursor themes since this is something
that is not part of Windows but was added on to support icon/cursor themes
such as Adwaita on Windows, but should be in-line with what is going on in
GdkCursor.

Also, remove the _gdk_grab_cursor global variable in gdkprivate-win32.h,
and replace it with another variable in the GdkWin32Display structure,
to make things cleaner in the process.

https://bugzilla.gnome.org/show_bug.cgi?id=773299

8 years agoUse color matrices for -gtk-recolor
Matthias Clasen [Wed, 8 Nov 2017 15:04:38 +0000 (10:04 -0500)]
Use color matrices for -gtk-recolor

Use the same approach we take for recoloring in GtkIconHelper now.
As part of this change, GtkCsSImageRecolor is changed to not derive
from GtkCssImageUrl anymore.

8 years agoCssProvider: Fix doc of min theme version loaded
Daniel Boles [Wed, 8 Nov 2017 06:51:32 +0000 (06:51 +0000)]
CssProvider: Fix doc of min theme version loaded

The code shows that we only load back to 4.0, but this still said 3.0.

8 years agoCssProvider: Use consistent theme name placeholder
Daniel Boles [Wed, 8 Nov 2017 06:48:17 +0000 (06:48 +0000)]
CssProvider: Use consistent theme name placeholder

commit 475d916eb92c0106d09525bcca938f05fd6a81b5 added various paths that
use theme-name for this, but the existing path already used THEME, with
a subsequent description referring to the latter. So use that everywhere

8 years agoFix the build
Matthias Clasen [Wed, 8 Nov 2017 05:37:04 +0000 (00:37 -0500)]
Fix the build

8 years agocss image: Use GdkTexture api directly
Matthias Clasen [Wed, 8 Nov 2017 04:04:36 +0000 (23:04 -0500)]
css image: Use GdkTexture api directly

No need to load a pixbuf anymore, we can just
directly create textures.

8 years agocss: Use a color matrix for recoloring -gtk-icontheme
Matthias Clasen [Wed, 8 Nov 2017 02:39:47 +0000 (21:39 -0500)]
css: Use a color matrix for recoloring -gtk-icontheme

This is the same approach we are already using in
GtkIconHelper.

8 years agoMake the recoloring code more robust
Matthias Clasen [Wed, 8 Nov 2017 02:27:38 +0000 (21:27 -0500)]
Make the recoloring code more robust

Pass both width+height and scale, so we can handle the case
where width+height are zero and we are using the file, scaled.

8 years agofix the build
Matthias Clasen [Wed, 8 Nov 2017 00:56:11 +0000 (19:56 -0500)]
fix the build

8 years agoFix symbolic.svg rendering
Matthias Clasen [Tue, 7 Nov 2017 23:55:01 +0000 (18:55 -0500)]
Fix symbolic.svg rendering

With the shader approach to symbolic recoloring, we must
not recolor the svgs anymore as we're loading them. Instead,
load them the same way that gtk-encode-symbolic-svg does.

This fixes the rendering of large symbolic icons e.g. the
'no search results found' page in the file chooser.

8 years agowayland: Drop an unused function
Matthias Clasen [Tue, 7 Nov 2017 12:43:09 +0000 (07:43 -0500)]
wayland: Drop an unused function

We no longer create a root window, so need to have
a function for it.

8 years agox11: Correctly set icons
Benjamin Otte [Tue, 7 Nov 2017 11:22:48 +0000 (12:22 +0100)]
x11: Correctly set icons

X11 obviously doesn't use 4 bytes for a 4 bytes pixel. Rather, it uses
unsigned long, which happens to be 8 bytes these days.

8 years agobroadway: Drop the root window
Matthias Clasen [Tue, 7 Nov 2017 02:11:16 +0000 (21:11 -0500)]
broadway: Drop the root window

We already have a list of toplevels, so we don't
need the root window for this.

8 years agowayland: Drop the root window
Matthias Clasen [Mon, 6 Nov 2017 23:30:27 +0000 (18:30 -0500)]
wayland: Drop the root window

We can just keep a list of toplevels in the display.

8 years agoUpdated Czech translation
Marek Cernocky [Mon, 6 Nov 2017 20:04:50 +0000 (21:04 +0100)]
Updated Czech translation

8 years agoDrop gdk_display_get_root_window
Matthias Clasen [Mon, 6 Nov 2017 02:45:14 +0000 (21:45 -0500)]
Drop gdk_display_get_root_window

This is no longer used.

8 years agox11: Stop using gdk_display_get_root_window
Matthias Clasen [Mon, 6 Nov 2017 02:25:42 +0000 (21:25 -0500)]
x11: Stop using gdk_display_get_root_window

Use the backend api for this.

8 years agox11: Make gdk_x11_display_get_root_window available
Matthias Clasen [Mon, 6 Nov 2017 02:05:25 +0000 (21:05 -0500)]
x11: Make gdk_x11_display_get_root_window available

This will replace the frontend api of the same name.

8 years agowin32: Stop using gdk_display_get_root_window
Matthias Clasen [Mon, 6 Nov 2017 02:00:04 +0000 (21:00 -0500)]
win32: Stop using gdk_display_get_root_window

Use the newly introduced backend api for this purpose.

8 years agowin32: Make gdk_win32_display_get_root_window available
Matthias Clasen [Mon, 6 Nov 2017 01:45:49 +0000 (20:45 -0500)]
win32: Make gdk_win32_display_get_root_window available

This will be used to replace the equivalent frontend api,
which is going away.

8 years agowidget: Don't leak the cursor on destruction
Benjamin Otte [Mon, 6 Nov 2017 02:24:34 +0000 (03:24 +0100)]
widget: Don't leak the cursor on destruction

8 years agowayland: Stop using gdk_display_get_root_window
Matthias Clasen [Mon, 6 Nov 2017 00:44:39 +0000 (19:44 -0500)]
wayland: Stop using gdk_display_get_root_window

We can just use the display field directly.

8 years agoTypo fix
Matthias Clasen [Mon, 6 Nov 2017 00:43:39 +0000 (19:43 -0500)]
Typo fix

8 years agobroadway: Stop using gdk_display_get_root_window
Matthias Clasen [Mon, 6 Nov 2017 00:37:54 +0000 (19:37 -0500)]
broadway: Stop using gdk_display_get_root_window

We can just use the field in the display.

8 years agoStop using the root window in gdk_window_create_similar_image_surface
Matthias Clasen [Mon, 6 Nov 2017 00:30:54 +0000 (19:30 -0500)]
Stop using the root window in gdk_window_create_similar_image_surface

Just create a plain image surface if we don't get a window.
This should work just fine and lets us drop another implicit
use of the root window.

8 years agoStop defaulting to the root window in gdk_window_get_geometry
Matthias Clasen [Mon, 6 Nov 2017 00:29:49 +0000 (19:29 -0500)]
Stop defaulting to the root window in gdk_window_get_geometry

This function is not documented as accepting NULL for the
window, and we don't want to have the root window sneakily
appear in the api like this.

8 years agoMake toplevels have parent == NULL
Matthias Clasen [Mon, 6 Nov 2017 00:28:37 +0000 (19:28 -0500)]
Make toplevels have parent == NULL

This is a move towards removing root windows as a frontend
gdk concept.

8 years agox11: Handle parent being NULL when creating windows
Matthias Clasen [Mon, 6 Nov 2017 00:25:22 +0000 (19:25 -0500)]
x11: Handle parent being NULL when creating windows

We want to make toplevels have a NULL parent, this
gets us ready for it.

8 years agoDrop gdk_display_get_toplevel_windows
Matthias Clasen [Sun, 5 Nov 2017 23:39:01 +0000 (18:39 -0500)]
Drop gdk_display_get_toplevel_windows

Nothing uses this private api anymore, so we can drop it.

8 years agox11: Drop use of gdk_display_get_toplevel_windows
Matthias Clasen [Sun, 5 Nov 2017 23:36:49 +0000 (18:36 -0500)]
x11: Drop use of gdk_display_get_toplevel_windows

Use the newly introduced helper for this task.

8 years agox11: Add a helper to get all toplevels
Matthias Clasen [Sun, 5 Nov 2017 23:33:56 +0000 (18:33 -0500)]
x11: Add a helper to get all toplevels

This will let us avoid frontend API for this task.

8 years agoquartz: Drop another use of gdk_display_get_toplevel_windows
Matthias Clasen [Sun, 5 Nov 2017 23:30:03 +0000 (18:30 -0500)]
quartz: Drop another use of gdk_display_get_toplevel_windows

This one was forgotten in the previous commit.

8 years agoquartz: Drop use of gdk_display_get_toplevel_windows
Matthias Clasen [Sun, 5 Nov 2017 23:28:27 +0000 (18:28 -0500)]
quartz: Drop use of gdk_display_get_toplevel_windows

We can use the newly added helper function for this.

8 years agoquartz: Add a function to get all toplevels
Matthias Clasen [Sun, 5 Nov 2017 23:27:49 +0000 (18:27 -0500)]
quartz: Add a function to get all toplevels

This will let us avoid frontend API for this.

8 years agobroadway: Stop using gdk_display_get_toplevel_windows
Matthias Clasen [Sun, 5 Nov 2017 23:19:04 +0000 (18:19 -0500)]
broadway: Stop using gdk_display_get_toplevel_windows

We already keep a list of all toplevels in the broadway
display struct. Just use it.

8 years agoUpdate Polish translation
Piotr Drąg [Sun, 5 Nov 2017 20:56:03 +0000 (21:56 +0100)]
Update Polish translation

8 years agoplacessidebar: correct quotation marks in a new string
Piotr Drąg [Sun, 5 Nov 2017 20:16:59 +0000 (21:16 +0100)]
placessidebar: correct quotation marks in a new string

8 years agoplacessidebar: add starred location item
Alexandru Pandelea [Thu, 20 Jul 2017 15:29:42 +0000 (16:29 +0100)]
placessidebar: add starred location item

Add an item for showing all files marked as favorite. This item will
open all files that have the nao:predefined-tag-favorite tag

https://bugzilla.gnome.org/show_bug.cgi?id=785176

8 years agoquartz: Drop mentions of foreign windows
Matthias Clasen [Sun, 5 Nov 2017 17:09:06 +0000 (12:09 -0500)]
quartz: Drop mentions of foreign windows

The quartz backend never creates foreign windows,
so no need to check for window type.

8 years agoExpand the cursors demo text
Matthias Clasen [Sun, 5 Nov 2017 16:24:12 +0000 (11:24 -0500)]
Expand the cursors demo text

Explain what why we show each cursor 4 times.

8 years agowayland: Fix animated cursors
Matthias Clasen [Sun, 5 Nov 2017 16:20:42 +0000 (11:20 -0500)]
wayland: Fix animated cursors

We must reset the image delay when stopping the timeout,
otherwise the code setting it up thinks it is still running.

This fixes cursor animation only working for the very first
enter of a widget with an animated cursor, as seen in the
cursors example in gtk4-demo.

8 years agoemojichooser: animate the adjustment
Benjamin Otte [Sun, 5 Nov 2017 15:12:35 +0000 (16:12 +0100)]
emojichooser: animate the adjustment

... instead of doing a dance with the scrolled window to get it to scroll
the adjustment.

8 years agogtk-demo: Fix popover positioning in popover test
Benjamin Otte [Sun, 5 Nov 2017 14:22:14 +0000 (15:22 +0100)]
gtk-demo: Fix popover positioning in popover test

8 years agogtk-demo: Don't use get_allocation()
Benjamin Otte [Sun, 5 Nov 2017 14:01:30 +0000 (15:01 +0100)]
gtk-demo: Don't use get_allocation()

Use get_width()/get_height() instead.

8 years agoflowbox: Don't call get_allocation()
Benjamin Otte [Sun, 5 Nov 2017 13:46:01 +0000 (14:46 +0100)]
flowbox: Don't call get_allocation()

That's wome outdated workaround code from the last version of GTK3.

8 years agoviewport: Implement clipping for picking
Benjamin Otte [Sun, 5 Nov 2017 06:17:36 +0000 (07:17 +0100)]
viewport: Implement clipping for picking

This is necessary because picking is no longer automatically constrained
to a widget's box. So all clipping widgets need to constrain their
clipping, too.

This patch does that for GtkViewport only.

8 years agotestsuite: Update expected results for scale changes
Benjamin Otte [Sun, 5 Nov 2017 05:58:05 +0000 (06:58 +0100)]
testsuite: Update expected results for scale changes

8 years agotestsuite: Unrealize renderers before unreffing
Benjamin Otte [Sun, 5 Nov 2017 05:55:01 +0000 (06:55 +0100)]
testsuite: Unrealize renderers before unreffing

This is now necessary, because the GL renderer crashes if we don't
enforce it.

8 years agoaboutdialog: Clean up for logo being a texture
Benjamin Otte [Sun, 5 Nov 2017 05:50:28 +0000 (06:50 +0100)]
aboutdialog: Clean up for logo being a texture

8 years agoentry: Remove surface icons
Benjamin Otte [Sun, 5 Nov 2017 05:45:01 +0000 (06:45 +0100)]
entry: Remove surface icons

We have texture icons.

8 years agoiconhelper: Don't render to surface anymore
Benjamin Otte [Sun, 5 Nov 2017 05:30:45 +0000 (06:30 +0100)]
iconhelper: Don't render to surface anymore

Just go directly to texture.

8 years agomenubutton: Don't fiddle with prelight state
Benjamin Otte [Sun, 5 Nov 2017 04:09:59 +0000 (05:09 +0100)]
menubutton: Don't fiddle with prelight state

8 years agothemes: Do expander arrow :hover properly
Benjamin Otte [Sun, 5 Nov 2017 04:08:18 +0000 (05:08 +0100)]
themes: Do expander arrow :hover properly

We want to prelight the arrow even when the label is hovered.

8 years agoexpander: Don't do :hover yourself
Benjamin Otte [Sun, 5 Nov 2017 03:56:08 +0000 (04:56 +0100)]
expander: Don't do :hover yourself

GTK does it for you.

8 years agorange: Stop trying to be smarter than GTK
Benjamin Otte [Sun, 5 Nov 2017 03:45:18 +0000 (04:45 +0100)]
range: Stop trying to be smarter than GTK

GTK deals with PRELIGHT properly itself now, so there's no need to try
do it manually.

8 years agorange: Use gtk_widget_pick() to pick the mouse location
Benjamin Otte [Sun, 5 Nov 2017 03:22:02 +0000 (04:22 +0100)]
range: Use gtk_widget_pick() to pick the mouse location

That's rather unsuccessful so far because it requires skipping a bunch
of irrelevant widgets, but oh well...

8 years agowidget: Make gtk_widget_pick() really slow
Benjamin Otte [Sun, 5 Nov 2017 03:05:55 +0000 (04:05 +0100)]
widget: Make gtk_widget_pick() really slow

We cannot fast-track picking by using gtk_widget_contains(). Child
widgets may extend their parent using ie negative margins.

This is not just a theoretical concern, this is what's happening right
now with GtkScale's sliders relative to the trough.

The problem is that we now iterate through all widgets, even when they
aren't anywhere near the mouse pointer. So essentially every pick
operation is now guaranteed O(N_WIDGETS) which used to be the worst case
that pretty much never happened.

8 years agorange: Stack widgets properly
Benjamin Otte [Sun, 5 Nov 2017 03:00:33 +0000 (04:00 +0100)]
range: Stack widgets properly

The trough widgets have the slider on top of the fill level and the
hilight widget. Make sure the widget stacking respects that.

This is particularly relevant because picking event targets should pick
the slider and not the hilight widget.

8 years agoentry: Texture properties are objects
Benjamin Otte [Sat, 4 Nov 2017 23:53:31 +0000 (00:53 +0100)]
entry: Texture properties are objects

Carelessly copy/pasting made them boxeds. Oops.

8 years agowidget: Implement gtk_widget_pick()
Benjamin Otte [Sat, 4 Nov 2017 23:49:18 +0000 (00:49 +0100)]
widget: Implement gtk_widget_pick()

... and use it.

8 years agoFix some typos
Matthias Clasen [Sun, 5 Nov 2017 03:48:30 +0000 (23:48 -0400)]
Fix some typos

Correct function names in the docs, etc.

8 years agoDocumentation fixes
Matthias Clasen [Sun, 5 Nov 2017 03:47:02 +0000 (23:47 -0400)]
Documentation fixes

Make sure textures show up in the gdk docs.

8 years agoUpdate POTFILES.skip
Piotr Drąg [Sat, 4 Nov 2017 23:26:47 +0000 (00:26 +0100)]
Update POTFILES.skip

8 years agowayland: Fix embarassing bug
Benjamin Otte [Sat, 4 Nov 2017 23:05:56 +0000 (00:05 +0100)]
wayland: Fix embarassing bug

Yes, I did not get to test this code path until now. Because nobody uses
icon surfaces, boo!